<p>This tests for a hang when outdenting a list item within a sublist twice.</p>
<div contenteditable="true">
<ol>
    <li>one</li>
    <li id="insert">two<ol><li id="outdent">three</li><li>four</li></ol></li>
</ol>
</div>

<script>
if (window.testRunner)
    testRunner.dumpAsText();
outdent = document.getElementById("outdent");
window.getSelection().collapse(outdent, 0);
document.execCommand("Outdent");
document.execCommand("Outdent");
</script>
